import sys

class GetStopWrods():
    
    def GetListOfStopWords(self, filepath):
        stopWordsFile = open(filepath)
        stopWordsContext = stopWordsFile.read()
        stopWordsList = stopWordsContext.split('\n')
        stopWordsFile.close()
        return stopWordsList

    def Call(self, filepath):
        return self.GetListOfStopWords(filepath)

# stopWordsPath = "stopwords.txt"
# g = GetStopWrods()
# stopWords = g.Call(stopWordsPath)
# print(stopWords)